﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BookBuy
{
    public partial class DSSach_NXB : System.Web.UI.Page
    {
        public nxbTDTT.SachDTO[] dssachmoi;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                nxbTDTT.PublisherServices proxy = new nxbTDTT.PublisherServices();
                string sID = proxy.DangNhap("ngocbinh", "123");
                //sID = proxy.DangNhap("ngocbinh", "123");
                Session.Add("sID_NXB_TDTT", sID);
                dssachmoi = proxy.LayTatCaSach(sID).ToArray();
            }
        }
    }
}